package com.rightsidetech.mall.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CommodityOrderDetailResp implements Serializable {

    @ApiModelProperty("商品id")
    private Long commodityId;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("以旧换新价格")
    private BigDecimal inNewPrice;

    @ApiModelProperty("是否支持依旧换新 0-支持 1-不支持")
    private Byte isInNew;

    @ApiModelProperty("划线价")
    private BigDecimal underlinedPrice;

    @ApiModelProperty("分类id")
    private Long typeId;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("品牌id")
    private Long brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("状态, -2下架 -1-已驳回 0-待提审 1-待审核 2-待上架 3-上架中 ")
    private Byte commodityStatus;

}
